package cn.tedu;

import java.sql.*;

public class Demo02 {
    public static void main(String[] args) throws SQLException {
        Connection c = DriverManager.getConnection("jdbc:mysql://localhost:3306/empdb?characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false","root","root");
        Statement s = c.createStatement();
        s.execute("drop table jdbct1");
        c.close();
        System.out.println("执行完毕");
    }
}
